Editing a new attribute
If you add a new attribute to a tag, you must name it in the Basic tab of the Web Settings Attribute Inspector, describe its function, and set its required status and value options.
To edit an attribute:
1 Create a new attribute, enter its name in the Attr Name text box, and press Enter.
2 Enter a description in the Comment text box, and press Enter.
3 Choose an option from the Attribute Is pop-up menu:
Optional indicates that the attribute is not necessary for the browser to interpret the tag correctly. Required specifies that the attribute must be used in order for the browser to interpret the tag correctly. Alternate indicates that both Optional and Required are accepted. The Adobe GoLive syntax checker won't mark the tag as faulty if the attribute is omitted.
4 Choose an option from the Value Type pop-up menu:
Text allows any Western-encoded alphanumeric character string. Use this option if you are not sure about the usage.Encoded Text allows any alphanumeric character string in any encoding. Number allows a numerical value only. Enumeration allows multiple options. Color permits an RGB color code only. URL allows a Universal Resource Locator only. JavaScript allows JavaScript code only.
5 Select Create This Attribute, and select a value from the Values pop-up menu:
Create Attribute inserts the attribute into the source code when the user drags its parent tag from Web Settings into the Source Editor or selects it from the Outline Editor pop-up menus.Default lets you specify the default value the attribute should have when its parent tag is inserted into the source code.
6 Click the Version tab, and specify compatibility with a browser or HTML version, as described in the section Overriding default syntax error checking.
Web Settings > The HTML tab > Editing a new attribute
|